package avicit.tlk.back.demo.dataentity.dto;

import avicit.platform6.core.annotation.log.FieldRemark;
import avicit.platform6.core.excel.validate.*;
import com.alibaba.excel.annotation.*;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.*;
import java.lang.String;
import javax.validation.constraints.*;

/**
 * DataEntityDTO导入类
 *
 * @author 朱辉云
 * @version 1.0.0
 * @date 2025-06-13 10:23:55
 * @since 1.0.0
 */
@ExcelIgnoreUnannotated
public class DataEntityImportDTO {

	/**
	 * 编码
	 */
	@ExcelProperty("编码")
	private String code;

	/**
	 * 中文名称
	 */
	@ExcelProperty("中文名称")
	private String cnName;

	/**
	 * 描述
	 */
	@ExcelProperty("描述")
	private String desc;

	/**
	 * 密级
	 */
	@NotBlank(message = "密级不能为空")
	@FieldRemark(dataType = "lookup", lookupType = "PLATFORM_FILE_SECRET_LEVEL")
	@ExcelProperty("密级")
	private String secretLevelName;

	@ColumnWidth(30)
	@ContentFontStyle(color = 10)
	@ExcelProperty("错误信息")
	private String errorInfo;

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getCnName() {
		return cnName;
	}

	public void setCnName(String cnName) {
		this.cnName = cnName;
	}

	public String getDesc() {
		return desc;
	}

	public void setDesc(String desc) {
		this.desc = desc;
	}

	public String getSecretLevelName() {
		return secretLevelName;
	}

	public void setSecretLevelName(String secretLevelName) {
		this.secretLevelName = secretLevelName;
	}

	public String getErrorInfo() {
		return errorInfo;
	}

	public void setErrorInfo(String errorInfo) {
		this.errorInfo = errorInfo;
	}
}
